//
//  PKBaseViewController.swift
//  Panku
//
//  Created by mac on 2017/2/6.
//  Copyright © 2017年 Monster. All rights reserved.
//

import UIKit

protocol PKBaseViewInterface {
    
    func setupRootView() -> Void;
    func setupSubViews() -> Void;
    func setupSubViewsConstraints() -> Void;
    func setupNavigationBar() -> Void;
    func bindViewModel() -> Void;

}


class PKBaseViewController: UIViewController, PKBaseViewInterface{

    override func viewDidLoad() {
        super.viewDidLoad()
        
        setupRootView()
        setupSubViews()
        setupSubViewsConstraints()
        setupNavigationBar()
        bindViewModel()
        
    }
    
    func setupRootView() {}
    
    func setupSubViews() {}
    
    func setupSubViewsConstraints() {}
    
    func setupNavigationBar() {}
    
    func bindViewModel() {}
    

}
